﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class js1
    {
        public int jj(int a,int b) {
            return a + b;
        }
        public double jj(double a, double b) {
            return a + b;
        }
        public string jj(string a, string b) {
            return a + b;
        }
        public int jj(int a) {
            int sum = 0;
            for (int i = 1; i < a+1; i++)
            {
                sum = sum+i;
            }
            return sum;
        }
    }
}
